import request from '@/utils/request'

export function getChannelList(params) {
  return request({
    url: '/channel/list',
    method: 'post',
    data: params
  })
}
export function addOrModifyChannel(params) {
  return request({
    url: '/channel/addOrModify',
    method: 'post',
    data: params
  })
}
export function deleteChannel(params) {
  return request({
    url: '/channel/' + params,
    method: 'delete'
  })
}
